#ifndef __CONVEXHULLPOINT_H
#define __CONVEXHULLPOINT_H

#include "IntroHeader.h"
using namespace std;

class ConvexHullPoint {
private:
	int x;
	int y;
public:
	ConvexHullPoint();
	ConvexHullPoint(int px, int py);
	ConvexHullPoint(const ConvexHullPoint &pt);
	bool operator <(const ConvexHullPoint &pt);
	bool operator <=(const ConvexHullPoint &pt);
	bool operator >(const ConvexHullPoint &pt);
	ConvexHullPoint & operator =(const ConvexHullPoint &pt);
	void SetPoint(int px, int py);
	int  GetX() const;
	int  GetY() const;
};

void CreatePoints(vector<ConvexHullPoint> &points);
ostream & operator <<(ostream &out, const ConvexHullPoint &pt);

#endif
